package zhang.jdbc.graph;

public class Student {

	private int id;
	private int sage;
	private String name;
	private String sphone;
	private String simage;
	private String ssex;
	private String idcard ;

	public int getSid() {
		return id;
	}

	public void setSid(int id) {
		this.id = id;
	}

	public String getname() {
		return name;
	}

	public void setname(String sname) {
		this.name = sname;
	}

	public int getSage() {
		return sage;
	}

	public void setage(int sage) {
		this.sage = sage;
	}

	public String getSiphone() {
		return sphone;
	}

	public void setSiphone(String siphone) {
		this.sphone = siphone;
	}

	public String getSphone() {
		return sphone;
	}

	public void setSphone(String sphone) {
		this.sphone = sphone;
	}

	public String getSimage() {
		return simage;
	}

	public void setSimage(String simage) {
		this.simage = simage;
	}

	public String getSsex() {
		return ssex;
	}

	public void setSsex(String ssex) {
		this.ssex = ssex;
	}
	
	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public Student() {
		super();
	}

	public Student(int id) {
		this.id=id;
	}
	
	public Student(int id, String name,String ssex,int sage,String simage, String sphone) {
		super();
		this.id = id;
		this.name = name;
		this.sage = sage;
		this.sphone = sphone;
		this.ssex = ssex;
		this.simage=simage;
	}


	@Override
	public String toString() {
		return "Student [sid=" + id + ", name=" + name + ", sage=" + sage + ", siphone=" + sphone + ", simagepath="
				+ simage + "]";
	}

}
